package com.taxi.driver.event;

public class OrderEvent extends BaseEvent {

    public static final int TAXI_UPDATE_FARE = 1; //(出租车)已输入费用
    public static final int ORDER_COMPLETE = 2; //判断订单是否完成
    public static final int PAY_SUCCESS = 3; //支付成功
    public static final int LAST_SPECIAL_INFO = 4; //获取最近一次"专车里程信息"的反馈报文
    public static final int SPECIAL_PRICE = 5; //专车订单金额

    public static final int ORDER_HAS_BEEN_ROBBED = 1013;
    // 乘客操作需要推给司机的操作码
    public static final int ORDER_PUSH = 2000;//可抢订单推送
    public static final int ORDER_DISTRIBUTE = 2001;//订单派送
    public static final int ORDER_PASSENGER_CANCEL = 2002;//乘客取消订单
    public static final int ORDER_PASSENGER_ORDER_PAYED = 2003;//用户已支付
    public static final int ORDER_DISTRIBUTE_TO_OTHER = 2004;//订单被改派
    public static final int ORDER_CHANGE_DISTRIBUTE = 2005;//收到改派订单
    public static final int ORDER_SENDTASK_NEW_APPLY = 2006;//乘客申请行程
    public static final int ORDER_MATCH_SUCCESS = 2007;//订单匹配成功
    public static final int ORDER_CLOSE = 3004;//后台关闭订单
    public static final int ORDER_MATCH_THE_TIMEOVER = 3006;//订单匹配超时
    public static final int MODIFY_MONEY = 3007;//修改金额
    public static final int IGNORE_ORDER = 4000; //忽略订单

    public OrderEvent(int type) {
        super(type);
    }

    public OrderEvent(int type, Object obj1) {
        super(type, obj1);
    }

    public OrderEvent(int type, Object obj1, Object obj2) {
        super(type, obj1, obj2);
    }

}